.class Lcom/waiqin365/lightapp/view/gp;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/waiqin365/lightapp/view/go;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/view/go;I)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iput p2, p0, Lcom/waiqin365/lightapp/view/gp;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 4

    const/4 v1, 0x1

    const/4 v2, 0x0

    iget v0, p0, Lcom/waiqin365/lightapp/view/gp;->a:I

    if-nez v0, :cond_3

    if-eqz p2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->b(Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;)Lcom/waiqin365/lightapp/view/gq;

    move-result-object v0

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/waiqin365/lightapp/view/gp;->a:I

    if-eqz v0, :cond_0

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->b(Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;)Lcom/waiqin365/lightapp/view/gq;

    move-result-object v0

    invoke-interface {v0}, Lcom/waiqin365/lightapp/view/gq;->a()V

    :cond_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a:Ljava/util/List;

    iget v3, p0, Lcom/waiqin365/lightapp/view/gp;->a:I

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/c;

    if-nez p2, :cond_2

    :goto_1
    iput-boolean v1, v0, Lcom/waiqin365/lightapp/b/c;->c:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/go;->notifyDataSetChanged()V

    goto :goto_0

    :cond_2
    move v1, v2

    goto :goto_1

    :cond_3
    if-eqz p2, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/c;

    if-nez p2, :cond_4

    :goto_2
    iput-boolean v1, v0, Lcom/waiqin365/lightapp/b/c;->c:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a:Ljava/util/List;

    iget v1, p0, Lcom/waiqin365/lightapp/view/gp;->a:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/c;

    iput-boolean p2, v0, Lcom/waiqin365/lightapp/b/c;->c:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/go;->notifyDataSetChanged()V

    goto :goto_0

    :cond_4
    move v1, v2

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a:Ljava/util/List;

    iget v1, p0, Lcom/waiqin365/lightapp/view/gp;->a:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/b/c;

    iput-boolean p2, v0, Lcom/waiqin365/lightapp/b/c;->c:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a(Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/go;->a:Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/PhotoTypeSelectView;->a()V

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/gp;->b:Lcom/waiqin365/lightapp/view/go;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/go;->notifyDataSetChanged()V

    goto/16 :goto_0
.end method
